import {faRequest} from "../../../adaptor/netConfig.js";


export default {
    login(username,password){
        return faRequest.post('/login',JSON.stringify({username:username,password:password}))
    },
    logout(){
        // delLastLoginTimestamp()
        // docCookies.removeItem("")
        // LoginUtil.delLoginCookie()
        return faRequest.get('/logout')
    },

}